<template>
  <div>
    <div :style="{ width: width, margin: '0 auto' }">
      <div class="btn" :style="{ width: width }">
        <div>登录游戏</div>
      </div>
    </div>
  </div>
</template>

<script setup>
const props = defineProps({
  width: {
    type: String,
    default: '60vw'
  }
})
</script>

<style lang="scss" scoped>
.btn {
  background: url('/src/assets/login/UI_Common_Btn_G_L.png');
  height: 0;
  padding-bottom: 24.5%;
  overflow: hidden;
  background-size: 100% auto;
  background-repeat: no-repeat;
  margin: 0 auto;
  font-size: 2.5rem;
  font-weight: bold;
  color: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
  text-shadow:
    -0.1rem -0.1rem 0 #4e9a0e,
     0.1rem -0.1rem 0 #4e9a0e,
    -0.1rem  0.1rem 0 #4e9a0e,
     0.1rem  0.1rem 0 #4e9a0e;

  &>div {
    padding-top: 21.5%;
  }
}
</style>